<?php

use think\facade\Route;

Route::group("v1/api", function () {
    // redis测试
    Route::group(function () {
        Route::get('phpInfo', 'phpInfo');
    })->prefix('\app\api\controller\v1\Test@');
    // php_info
    Route::group(function () {
        Route::get('redisTest', 'redisTest');
    })->prefix('\app\api\controller\v1\Test@');
    // test
    Route::group(function () {
        Route::get('test', 'test');
    })->prefix('\app\api\controller\v1\Test@');
});